<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>会议</title>
    <link rel="stylesheet" type="text/css" href="../../css/mui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
    <script src="../../js/mui.min.js"></script>
    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/vue.js"></script>
    <script src="../../js/main.js"></script>
</head>
<body>
<div id="app">
<header class="mui-bar mui-bar-nav">
    <span class="back" @click="back"></span>
    <!--<span class="cross" @click="close"></span>-->
    <h1 class="mui-title" style="left: 80px;right: 80px">会议</h1>
</header>
<div class="mui-content">
    <ul class="report-type" style="margin-top: 10px">
        <li>
            <a href="meeting_add.html">
                <div class="day"></div>
                <p>常规会议</p>
            </a>
        </li>
        <div class="clear"></div>
    </ul>
    <!--<ul class="report-footer">-->
        <!--<li>-->
            <!--<a href="meeting_add.html">-->
                <!--<div class="footer-btn footer-btn-fir">发起会议</div>-->
            <!--</a>-->
        <!--</li>-->
        <!--<li>-->
            <!--<a href="meeting_arrange.html">-->
                <!--<div class="footer-btn footer-btn-sec">查看会议记录</div>-->
            <!--</a>-->
        <!--</li>-->
        <!--<div class="clear"></div>-->
    <!--</ul>-->
    <ul class="report-footer new-footer">
        <li>
            <a href="###">
                <div>
                    <img src="../../images/report/zhixin_huibao_xhb_click_icon.png"/>
                </div>
                <p style="color: rgb(44,154,232)">发起会议</p>
            </a>
        </li>
        <li>
            <a href="meeting_arrange.html">
                <div>
                    <img src="../../images/report/zhixin_huibao_khb_icon.png"/>
                </div>
                <p>查看会议记录</p>
            </a>
        </li>
        <div class="clear"></div>
    </ul>
</div>
</div>
</body>
<script>

    function UrlSearch() {
        var name, value;
        var str = location.href; //取得整个地址栏
        var num = str.indexOf("?");
        str = str.substr(num + 1); //取得所有参数   stringvar.substr(start [, length ]

        var arr = str.split("&"); //各个参数放到数组里
        for (var i = 0; i < arr.length; i++) {
            num = arr[i].indexOf("=");
            if (num > 0) {
                name = arr[i].substring(0, num);
                value = arr[i].substr(num + 1);
                this[name] = value;
            }
        }
    }
    var Request = new UrlSearch(); //实例化
    localStorage.userId = Request.userId;
    localStorage.userName = Request.loginName;
    localStorage.companyId = Request.companyId;
    localStorage.token = Request.token;

    function sendInfoToJava(name) {
        //调用android程序中的方法，并传递参数
        javascript:WebView.showInfoFromJs(name);
    }
    var app = new Vue({
        el: "#app",
        data: function () {
            return{

            }
        },
        methods: {
            back: function () {
                var name = "back";
                sendInfoToJava(name);
            },
            close: function () {
                var name = "close";
                sendInfoToJava(name);
            }
        }
    });
</script>

</html>